<form action="<?php echo $this->site['base_url']?>admin_setting/setup_sm" method="post">
<table cellspacing="0" cellpadding="0" class="title">
  <tr >
    <td class="title_label"><?php echo Kohana::lang('admin_setting_lang.tt_config')?></td>
    <td align="right">
    <button type="reset" name="btn_reset" class="button reset"/>
        <span><?php echo Kohana::lang('admin_lang.btn_reset')?></span>
        </button>
        &nbsp;
        <button type="submit" name="btn_submit" class="button save" />
        <span><?php echo Kohana::lang('admin_lang.btn_save')?></span>
    </td>
  </tr>
</table>
<table class="form" cellspacing="0" cellpadding="0">
  <tr>
  <td>
  	<ul id="config_tab" class="shadetabs">
    <li><a href="#" rel="config" class="selected"><?php echo Kohana::lang('admin_setting_lang.lbl_general')?></a></li>
    <li><a href="#" rel="config_payment"><?php echo Kohana::lang('payment_method_lang.tt_page')?></a></li>
    <li><a href="#" rel="config_shipping"><?php echo Kohana::lang('shipping_method_lang.tt_page')?></a></li>
    </ul>
	<div style="border:1px solid #999; margin-bottom:1em; padding:10px">
    <div id="config" class="tabcontent">
    <?php require('frm_general.php')?>
    </div>
    <div id="config_payment" class="tabcontent">
    <?php require(MODPATH.'ecom_payment_shipping/views/admin_payment_method/frm_cash_config.php')?>
    <?php require(MODPATH.'ecom_payment_shipping/views/admin_payment_method/frm_po_config.php')?>
    <?php require(MODPATH.'ecom_payment_shipping/views/admin_payment_method/frm_authorizenet_config.php')?>    
    </div>
    <div id="config_shipping" class="tabcontent">
    <?php require(MODPATH.'ecom_payment_shipping/views/admin_shipping_method/frm_free_config.php')?>
    <?php require(MODPATH.'ecom_payment_shipping/views/admin_shipping_method/frm_fedex_config.php')?>
    <?php require(MODPATH.'ecom_payment_shipping/views/admin_shipping_method/frm_ups_config.php')?>
    <?php require(MODPATH.'ecom_payment_shipping/views/admin_shipping_method/frm_usps_config.php')?>
    </div>
    </div> 
  </td>
  </tr>  
</table>
</form>
<link rel="stylesheet" type="text/css" href="<?php echo $this->site['base_url']?>themes/plugins/tabcontent/tabcontent.css">
<script type="text/javascript" src="<?php echo $this->site['base_url']?>themes/plugins/tabcontent/tabcontent.js"></script>
<script type="text/javascript">
var countries=new ddtabcontent("config_tab")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()
</script>
